//
//  DetailCPTJFooterView.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/8.
//  Copyright © 2016年 wl. All rights reserved.
//

import UIKit
protocol DetailCPTJFooterViewDelegate {
    func collectionSelected(sender: UIButton)
    func transmitSelected(sender: UIButton)
}
class DetailCPTJFooterView: UIView {
    @IBOutlet weak var collectionBtn: UIButton!//收藏
    @IBOutlet weak var transmitBtn: UIButton!//转发
    
    var delegate:DetailCPTJFooterViewDelegate?
    @IBAction func collectionBtnClicked(sender: UIButton){
        
        delegate?.collectionSelected(sender)
    }
    
    @IBAction func transmitBtnClicked(sender: UIButton){
        delegate?.transmitSelected(sender)
    }

    /*
    // Only override drawRect: if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func drawRect(rect: CGRect) {
        // Drawing code
    }
    */

}
